WooCommerce\Square\Framework\Square_Helper S

Total Complexity 46
Dependencies 2
Dependents 20
Total lines 400
Lines of code 138
Logical lines of code 79
Comment lines 176
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
list_array_items()
S
57 6 15
trigger_error()
S
57 4 18
str_truncate()
S
58 4 16
str_starts_with()
S
60 4 14
str_exists()
S
60 4 14
array_insert_after()
S
62 4 12
is_order_virtual()
S
63 4 11
get_post()
S
68 3 6
get_request()
S
68 3 6
wc_add_notice()
S
73 2 5
get_site_name()
S
78 2 3
maybe_doing_it_early()
S
72 2 5
str_to_ascii()
S
74 1 4
multibyte_loaded()
S
80 1 3
number_format()
S
78 1 3
get_wc_log_file_url()
S
77 1 3